﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
    xmlns:GraphDrawer="clr-namespace:GraphDrawer"
    x:Class="GraphDrawer.ModelEditor"
    Width="600"
    Height="500">
    <Canvas x:Name="rootCanvas">
        <StackPanel Orientation="Horizontal">
            <Button Click="Button_Click" Height="33" Width="104" Content="Create New Node"/>
            <Button Click="RemoveElement_Click" Height="33" Width="104" Content="Remove"/>
            <Button Height="33" Width="104" Content="Save" x:Name="Save" Click="Save_Click"/>
            <Button Height="33" Content="Export to our database" Name="exportToDatabase" Click="ExportToDatabase_Click" IsEnabled="False"></Button>
        </StackPanel>
        
        <GraphDrawer:NewNodePopUp x:Name="popup" Visibility="Collapsed" />
        <GraphDrawer:NewEdgePopUp x:Name="edgePopUp" Visibility="Collapsed" />
        <GraphDrawer:ExportModel x:Name="export" Visibility="Collapsed" />
    </Canvas>
</UserControl>